package com.springboot.auth.authorization.oauth2.enhancer;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;

/**
 * Created by ZengJian on 2021/2/25 0025 下午 5:58
 */

public class QrAuthenticationToken extends UsernamePasswordAuthenticationToken {

    public QrAuthenticationToken(Authentication authenticationToken) {
        super(authenticationToken.getPrincipal(), authenticationToken.getCredentials());
    }
}
